package com.example.cardgame

import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import androidx.appcompat.app.AppCompatActivity

class InfoActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_info)

        val nameEditText: EditText = findViewById(R.id.nameEditText)
        val genderEditText: EditText = findViewById(R.id.genderEditText)
        val phoneEditText: EditText = findViewById(R.id.phoneEditText)
        val saveButton: Button = findViewById(R.id.saveButton)

        saveButton.setOnClickListener {
            // For demonstration, just finish the activity
            finish()
        }
    }
}